

var dao 

function initDao(commonDao){
	dao = commonDao
}

function testDao(){
	var sql = "select * from sys_queryfields where tableId=? and cname is not null"
	dao.test(sql)
	var list = dao.list(sql, 4)
	for each(var row in list){
		print('line${row}: '+row)
		print(row.cname+" : "+row.fname)
		for each(var key in row.keySet()){
			print('line${col}: '+key+" => "+row[key])
		}
	}
}